//
//  Command.h
//  INFSWA02
//
//  Created by Justin van Grootveld on 10/25/11.
//  Copyright (c) 2011 Pro4all. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Square;
@class Piece;
@class Board;

@interface Command : NSObject
{
@protected
    Square *_squareSource;
    Square *_squareDestination;
    Piece *_piece;
}

@property (nonatomic, strong) Board *board;

- (id)initWithSquareSource:(Square *)source destination:(Square *)destination;

- (BOOL)execute;
- (BOOL)undo;

@end
